all:	package

package:
	mkdir -p package/DEBIAN
	mkdir -p package/System/Library/Frameworks
	cp -r JSON.framework package/System/Library/Frameworks
	cp -a control package/DEBIAN
	find package -name .svn -print0 | xargs -0 rm -rf
	dpkg-deb -b package json-framework_$(shell grep ^Version: control | cut -d ' ' -f 2)_iphoneos-arm.deb
